<?php

// Your API login ID and Transaction Key can be found in your account settings
// when logged into your Authorize.net account
//
// You may want to store this information more securely in a Database, Registry
// or an Encrypted File

$login = "API_LOGIN_ID";

$key = "TRANSACTION_KEY";

// By default, this sample code is designed to post to our test server, this
// will only work if you are using a developer test account.  If you are using
// a real account, please be sure to post to the live URL.  If you would like
// to open a test account, go to http://developer.authorize.net/testaccount
//
//	Real Account:	https://secure.authorize.net/gateway/transact.dll
//	Test Account:	https://test.authorize.net/gateway/transact.dll

$URL		= "https://test.authorize.net/gateway/transact.dll";

// The invoice and description will display on the payment form
// You can set the invoice to anything you choose, by default it is the date and time
$invoice = date(YmdGis);
$description = "Sample Description";

?>